package com.prelearning.at_springboot.service;

import com.prelearning.at_springboot.entity.Published;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cgr
 * @since 2022-04-10
 */
public interface IPublishedService extends IService<Published> {

    Published init(Published published);

    List<Published> getUnfinished(String user_id);

    boolean Sign_online(String id, int choice, String studentInfo);

    void refresh();

    List<Published> getFinished(String user_id);

    List<Published> getPublished(String owner_id);
}
